package com.cykj.user.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Arrays;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "recommend")
public class RecommendProperties {
    private String scriptPath;
    private boolean fallbackEnabled = true; // 默认启用兜底
    private int maxRetries = 3;
    private List<Long> defaultShopIds = Arrays.asList(1L, 2L, 3L); // 可配置的默认商家
}
